//
//  UIColor+XUtilExtension.h
//  XUtils
//
//  Created by Hongwei Wang on 2018/8/6.
//  Copyright © 2018年 Hongwei Wang. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIColor (XUtilExtension)


// red green blue
+ (instancetype)HexA6ColorHexValue:(unsigned long long)hex6 alpha:(CGFloat)alpha;
+ (instancetype)Hex6ColorHexValue:(unsigned long long)hex6;
+ (instancetype)HexA3ColorHexvalue:(NSUInteger)hex3 alpha:(CGFloat)alpha;
+ (instancetype)Hex3ColorHexvalue:(NSUInteger)hex3;
+ (instancetype)HexAColorWithString:(NSString *)hexStr alpha:(CGFloat)alpha;
+ (instancetype)HexColorWithString:(NSString *)hexStr;
+ (instancetype)RGBAColorRed:(CGFloat)red blue:(CGFloat)blue green:(CGFloat)green alpha:(CGFloat)alpha;
+ (instancetype)RGBColorRed:(CGFloat)red blue:(CGFloat)blue green:(CGFloat)green;

+ (instancetype)mixColor1:(UIColor*)color1 color2:(UIColor *)color2 ratio:(CGFloat)ratio;

+ (instancetype)NRRedColor;///e55851

+ (instancetype)NRWhithColor;///eeeeee

+ (instancetype)NRBlackColor;///333333

+ (instancetype)NRLightTextColor;//666666

+ (instancetype)NRLightGrayColor;//999999

+ (instancetype)NRCyanColor;//00A0FF

+ (instancetype)RandomColor;


@end
